package com.hz.house;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;

import springfox.documentation.swagger2.annotations.EnableSwagger2;

@MapperScan(basePackages="com.hz.house.dao")
@EnableDiscoveryClient
@SpringBootApplication
@EnableSwagger2
@EnableScheduling
public class HouseBuildingApplication {

	public static void main(String[] args) {
		//ddd
		System.setProperty("es.set.netty.runtime.available.processors", "false");
		SpringApplication.run(HouseBuildingApplication.class, args);
	}

}
